package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.FutDailyBean;

/**
* 描述：期货日线行情数据
* @author: codesmith
**/
@Data
@TableName("fut_daily")
public class FutDailyEntity implements FutDailyBean {
    
    /*
    * TS合约代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;

    @TableField("`pre_close`") protected Double preClose;

    @TableField("`pre_settle`") protected Double preSettle;

    @TableField("`open`") protected Double open;

    @TableField("`high`") protected Double high;

    @TableField("`low`") protected Double low;

    @TableField("`close`") protected Double close;

    @TableField("`settle`") protected Double settle;

    @TableField("`change1`") protected Double change1;

    @TableField("`change2`") protected Double change2;

    @TableField("`vol`") protected Double vol;

    @TableField("`amount`") protected Double amount;

    @TableField("`oi`") protected Double oi;

    @TableField("`oi_chg`") protected Double oiChg;

    @TableField("`delv_settle`") protected Double delvSettle;
}